package com.fintech.third.service.interfacedata;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fintech.third.dao.interfacedata.EdcProductInterfaceEffecttimeConfigMapper;
import com.fintech.third.model.interfacedata.EdcProductInterfaceEffecttimeConfigDto;

@Service("productInterfaceEffecttimeConfigService")
public class ProductInterfaceEffecttimeConfigImpl implements ProductInterfaceEffecttimeConfigService{

	@Autowired
	private EdcProductInterfaceEffecttimeConfigMapper edcProductInterfaceEffecttimeConfigMapper;
	@Override
	public int insertEdcProductInterfaceEffecttimeConfig(
			EdcProductInterfaceEffecttimeConfigDto edcEdcProductInterfaceEffecttimeConfigDto) {
		return edcProductInterfaceEffecttimeConfigMapper.insertEdcProInterfaceTimeConfig(edcEdcProductInterfaceEffecttimeConfigDto);
	}

	@Override
	public int updateEdcProductInterfaceEffecttimeConfig(
			EdcProductInterfaceEffecttimeConfigDto edcEdcProductInterfaceEffecttimeConfigDto) {
		return edcProductInterfaceEffecttimeConfigMapper.updateEdcProInterfaceTimeConfig(edcEdcProductInterfaceEffecttimeConfigDto);
	}

	@Override
	public List<EdcProductInterfaceEffecttimeConfigDto> edcProductInterfaceEffecttimeConfig(Map<String,Object> map) {
		return edcProductInterfaceEffecttimeConfigMapper.selectEdcProInterfaceTimeConfig(map);
	}

	
	@Override
	public List<EdcProductInterfaceEffecttimeConfigDto> edcProductInterfaceEffecttimeConfigPage(
			Map<String, Object> map)  {
		return edcProductInterfaceEffecttimeConfigMapper.selectEdcProInterfaceTimeConfigPage(map);
	}

	@Override
	public EdcProductInterfaceEffecttimeConfigDto edcProInterfaceTimeConfigSig(Map<String, Object> map) {
		return edcProductInterfaceEffecttimeConfigMapper.selectEdcProInterfaceTimeConfigSig(map);
	}

	@Override
	public void deleteEdcProInterfaceTimeConfigPage(
			EdcProductInterfaceEffecttimeConfigDto edcProductInterfaceEffecttimeConfigDto) {
		edcProductInterfaceEffecttimeConfigMapper.deleteEdcProInterfaceTimeConfigPage(edcProductInterfaceEffecttimeConfigDto);
	}

	@Override
	public EdcProductInterfaceEffecttimeConfigDto edcProInterfaceTimeConfigById(long id) {
		
		return edcProductInterfaceEffecttimeConfigMapper.selectEdcProInterfaceTimeConfigById(id);
	}
}
